<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
    <?php 
        $Math = 80;
        $Html = 90;
        $Javascript = 61;
        $Ave = ($Math + $Html + $Javascript)/3 ; 
        
        define('PI',3.14);
        define('DRPATH','c:/wamp/www/');
        echo DRPATH ."bbs/index2.php";
        const pi01 = 3.1415;
        echo pi01;
        // echo PI;
    ?>
    <table>
        <tr>
            <th>课程</th>
            <th>分数</th>
        </tr>
        <tr>
            <td>Math</td>
            <td><?php echo $Math; ?></td>
        </tr>
        <tr>
            <td>Html</td>
            <td><?php echo $Html; ?></td>
        </tr>
         <tr>
            <td>Javascript</td>
            <td><?php echo $Javascript; ?></td>
        </tr>
         <tr>
            <td>平均分</td>
            <td><?php echo $Ave; ?></td>
        </tr>
    </table>

</body>
</html>